<div class="content-l">
	<div style="margin:0 13px 13px 13px;">
		<i:literal-nav xmlns:i="178">
		   <i:literal-nav-item label="好友的好友" url="<?= Controller::_makeURL('friends', 'group', 'mutu_friends')?>" <?if ($this->action=='mutu_friends'):?>selected="true"<?endif;?>/>
		   <i:literal-nav-item label="公会好友" url="<?= Controller::_makeURL('friends', 'guild', 'index')?>" <?if ($this->controller=='guild'):?>selected="true"<?endif;?>/>
		   <i:literal-nav-item label="您可能认识的人" url="<?= Controller::_makeURL('friends', 'armory', 'index')?>" <?if ($this->controller=='armory'):?>selected="true"<?endif;?>/>
	 	</i:literal-nav>
	</div>
	
<?if ( null != $this->list):?>
	<div class="seplinetop">
		全部 <strong class="red" id="guser_count"><?php echo $this->total;?></strong> 位可能认识的人
	</div><!-- seplinetop-->
	
	<div class="column">
	<?foreach($this->list as $row):?>
	<div class="tj-friend-wrap">
		<div class="friend190">
		<div class="avatar50"><a href="/?uid=<?=$row['id']?>"><img _src="<?= avatar_util_saver::get_path($row['id'], 50)?>" width="50px" height="50px" /></a></div>
		<div class="leftfix">
			<i:name xmlns:i="178" uid="<?=$row['id']?>" username="<?=$row['username']?>" length="10"/>
			<p>角色：<span style="color:#333"><?=$row['cname']?></span></p>
			<p>职业：<span style="color:#333"><?=$row['class']?></span></p>
			
		  </div>
		<div class="clearfix"></div>
		</div>
		<div class="rightfix mt26 mr13">
			<span class="fixie6png addfriend-icon"></span>
			<a href="javascript: Friends.addRecommend(<?= $row['id'];?>, <?if($this->role):?>'我是<?=$this->role['region']?>-<?=$this->role['realm']?>-<?=$this->role['guild']?>公会的<?=$this->role['cname']?>,希望能和你成为朋友。'<?else:?>''<?endif;?>);" >加为好友</a>
			<span class="gray"><a href="/~armory.index.my_armory/uid/<?= $row['id'];?>/relationId/<?=$row['relationId']?>" target="_blank">[角色信息]</a></span>
		</div>
		<div class="clearfix"></div>
	</div><!--tj-friend-wrap -->
	<?endforeach; ?>
	
	<div class="clearfix"></div>
	</div><!--column -->
	
	<div class="clearfix"></div>
	<div class="sepline13"><?=$this->pageInfo?></div>
</div>
	

<?else:?>

<div class="welcome-tip">	
		<div class="welcome-tip-main">
			<p><span>找朋友的捷径：</span><a target="_blank"  href="<?= self::_makeURL('armory', 'index', 'bind')?>">绑定魔兽身份</a></p>
			<p><span>说明：</span><span class="fr">你还没有绑定“魔兽身份”，绑定身份不仅能更好的展示你自
己，还可以与同服、同工会的朋友们迅速取得联系！</span></p>
			<p><span>方法：</span></p>
				<ul>
					<li><a target="_blank"  href="<?= self::_makeURL('armory', 'index', 'bind')?>">在绑定魔兽身份后</a>，即可查看魔兽好友推荐。</li>
				</ul>
		</div>
	</div>
<?endif;?>
</div>